package com.aurora.blog.service;

import java.util.List;
import com.aurora.blog.domain.BlogLikes;

/**
 * 点赞Service接口
 * 
 * @author aurora
 * @date 2024-06-04
 */
public interface IBlogLikesService 
{
    /**
     * 查询点赞
     * 
     * @param likeId 点赞主键
     * @return 点赞
     */
    public BlogLikes selectBlogLikesByLikeId(Long likeId);

    /**
     * 查询点赞列表
     * 
     * @param blogLikes 点赞
     * @return 点赞集合
     */
    public List<BlogLikes> selectBlogLikesList(BlogLikes blogLikes);

    /**
     * 新增点赞
     * 
     * @param blogLikes 点赞
     * @return 结果
     */
    public int insertBlogLikes(BlogLikes blogLikes);

    /**
     * 修改点赞
     * 
     * @param blogLikes 点赞
     * @return 结果
     */
    public int updateBlogLikes(BlogLikes blogLikes);

    /**
     * 批量删除点赞
     * 
     * @param likeIds 需要删除的点赞主键集合
     * @return 结果
     */
    public int deleteBlogLikesByLikeIds(Long[] likeIds);

    /**
     * 删除点赞信息
     * 
     * @param likeId 点赞主键
     * @return 结果
     */
    public int deleteBlogLikesByLikeId(Long likeId);
}
